SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 54134: NullPointerException when attempting to obtain SAS® Migration Utility package for migration

DetailsAboutRate It

When you migrate SAS® Enterprise GRC, one step is to use a SAS Migration Utility to gather information from the source environment. That might fail with a NullPointerException like the following:

2013-01-22 13:55:38,430 [INFO ] {dsbatchsrvExport.FullAnalyze.DSBatchSrvAnalyze} Getting the server contexts : /install/opgrc_dxd/config/Lev1 2013-01-22 13:55:38,545 [INFO ] {dsbatchsrvExport.FullAnalyze.DSBatchSrvAnalyze} Migration is supported for this version. Located BatchServer server directory in /install/opgrc_dxd/config/Lev1/SASApp context. 2013-01-22 13:55:38,571 [INFO ] {dsbatchsrvExport.FullAnalyze.DSBatchSrvAnalyze} Could Not find configurable properties for SASApp ... ... 2013-01-22 13:55:38,596 [ERROR ] Target dsbatchsrvExport.FullAnalyze threwException Exception occured : java.lang.NullPointerException at com.sas.apps.migration.smu.taskdefs.commonserver.scripts. LocationHandler.describeConfigurableObjects(LocationHandler.java:70). /tmp/selfgz1179661212211/Extensions/dsbatchsrv/dsbatchsrv.xml:24: Exception occured : java.lang.NullPointerException at com.sas.apps.migration.smu.taskdefs.commonserver.scripts. LocationHandler.describeConfigurableObjects(LocationHandler.java:70) at com.sas.apps.migration.smu.taskdefs.commonserver.ServerAnalyzer. execute(ServerAnalyzer.java:560) at org.apache.tools.ant.UnknownElement.executeUnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl. invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:600) at org.apache.tools.ant.dispatch.DispatchUtils. execute(DispatchUtils.java:105) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargetsProject.java:1329) at org.apache.tools.ant.Project.executeTarget(Project.java:1298) at com.sas.apps.migration.smu.Framework. executeTarget(Framework.java:817) at com.sas.apps.migration.smu.Framework.doAnalysis(Framework.java:579) at com.sas.apps.migration.smu.Framework. executeProjects(Framework.java:488) at com.sas.apps.migration.smu.Main.main(Main.java:56) 2013-01-22 13:55:38,597 [ERROR ] {dsbatchsrvExport.FullAnalyze} Target 'FullAnalyze' failed with message 'Exception occured : java.lang.NullPointerException at com.sas.apps.migration.smu.taskdefs.commonserver.scripts. LocationHandler.describeConfigurableObjects (LocationHandler.java:70)'.
This occurs because SASApp is of type dsbatchserver, and is not associated with a logical application server. To resolve the problem, delete the SASApp server from the Server Manager in Metadata, and run the SAS Migration Utility again:

  • Log on to the SAS Management Console.
  • Navigate to Environment ManagementServer Manager.
  • Right-click SASApp server and select Delete.


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Enterprise GRCMicrosoft® Windows® for x645.16.19.4 TS1M2
Microsoft Windows 8 Enterprise 32-bit5.16.19.4 TS1M2
Microsoft Windows 8 Enterprise x645.16.19.4 TS1M2
Microsoft Windows 8 Pro 32-bit5.16.19.4 TS1M2
Microsoft Windows 8 Pro x645.16.19.4 TS1M2
Microsoft Windows 8.1 Enterprise 32-bit5.16.19.4 TS1M2
Microsoft Windows 8.1 Enterprise x645.16.19.4 TS1M2
Microsoft Windows 8.1 Pro5.16.19.4 TS1M2
Microsoft Windows 8.1 Pro 32-bit5.16.19.4 TS1M2
Microsoft Windows 95/985.1
Microsoft Windows 2000 Advanced Server5.1
Microsoft Windows 2000 Datacenter Server5.1
Microsoft Windows 2000 Server5.1
Microsoft Windows 2000 Professional5.1
Microsoft Windows NT Workstation5.1
Microsoft Windows Server 2003 Datacenter Edition5.1
Microsoft Windows Server 2003 Enterprise Edition5.1
Microsoft Windows Server 2003 Standard Edition5.1
Microsoft Windows Server 2003 for x645.1
Microsoft Windows Server 20085.16.19.4 TS1M2
Microsoft Windows Server 2008 R25.16.19.4 TS1M2
Microsoft Windows Server 2008 for x645.16.19.4 TS1M2
Microsoft Windows Server 2012 Datacenter5.16.19.4 TS1M2
Microsoft Windows Server 2012 R2 Datacenter5.16.19.4 TS1M2
Microsoft Windows Server 2012 R2 Std5.16.19.4 TS1M2
Microsoft Windows Server 2012 Std5.16.19.4 TS1M2
Microsoft Windows XP Professional5.1
Windows 7 Enterprise 32 bit5.16.19.4 TS1M2
Windows 7 Enterprise x645.16.19.4 TS1M2
Windows 7 Home Premium 32 bit5.16.19.4 TS1M2
Windows 7 Home Premium x645.16.19.4 TS1M2
Windows 7 Professional 32 bit5.16.19.4 TS1M2
Windows 7 Professional x645.16.19.4 TS1M2
Windows 7 Ultimate 32 bit5.16.19.4 TS1M2
Windows 7 Ultimate x645.16.19.4 TS1M2
Windows Millennium Edition (Me)5.1
Windows Vista5.1
Windows Vista for x645.1
64-bit Enabled AIX5.16.19.4 TS1M2
64-bit Enabled Solaris5.16.19.4 TS1M2
HP-UX IPF5.16.19.4 TS1M2
Linux for x645.16.19.4 TS1M2
Solaris for x645.16.19.4 TS1M2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.